package com.lyy.mapper;
import com.alibaba.druid.support.monitor.annotation.MTable;
import com.lyy.entity.Chapter;
import lombok.Data;

import java.util.List;

/**
 * @author Liangyaoyun
 */

public interface ChapterMapper {
    int  insertByChapterId(Chapter chapter);
    int  deleteByChapterId(Integer chapter);
    int  updateByChapterId(Chapter chapter);
    Chapter selectByChapterId(Integer chapter);
    List<Chapter> selectAllChapter();
    int  deleteByChapterIds(List<Integer> chapterId);
}
